package com.test.designPattern.ch4.drink;

import com.test.designPattern.ch4.Item;
import com.test.designPattern.ch4.pack.Bottle;
import com.test.designPattern.ch4.pack.Packing;

/**
 * 冷饮，实现了item，包装方法为瓶装
 */
public abstract class ColdDrink implements Item {
    @Override
    public Packing packing() {
        return new Bottle();
    }

    @Override
    public abstract float price();
}
